package com.lechuang.member.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lechuang.common.request.PageRequest;
import com.lechuang.member.dto.MemberListDto;
import com.lechuang.member.dto.MemberRequestDto;
import com.lechuang.member.dto.SaveMemberDto;
import com.lechuang.member.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lechuang.member.vo.MemberListVo;

import java.util.List;

/**
* @author apple
* @description 针对表【member(会员信息表)】的数据库操作Service
* @createDate 2024-06-22 11:43:19
*/
public interface MemberService extends IService<Member> {

    Page<MemberListVo> pageList(PageRequest<MemberListDto> pageRequest);

    MemberListVo queryById(MemberRequestDto memberRequestDto);

    Member queryByUserId(Long userId);

    void updateByUserId(Member member);

    List<Member> queryByUserIds(List<Long> userIds);
}
